package org.wanda.pv.service.hy;

import org.wanda.pv.framework.base.Result;
import org.wanda.pv.model.hy.HyDrawing;
import org.wanda.pv.service.BaseService;

/**
 * @author lxy
 * @date 2018/12/14 11:09
 */
public interface HyDrawingService extends BaseService<HyDrawing>{

    /**
     * 旋转文件的图片
     * @param drawingId
     * @param angel
     * @return
     */
    Result rotatePdfImage(Long drawingId , int angel);

    /**
     * 初始化图纸
     * @param access_token_hy
     * @param projectFlowChildrenNodeId
     * @param projectId
     */
    void initDrawings(String access_token_hy,String projectFlowChildrenNodeId,String projectId);

    /**
     * 远程同步图纸文件
     * @param projectFlowChildrenNodeId
     * @param access_token
     */
    void sync2dDraw(String projectFlowChildrenNodeId , String access_token);
}
